package com.example.kotlin_api.t

interface ProductionConsumer<T> {
    fun consume(item: T)
    fun product(): T
}

interface Production<out T> {
    fun product(): T
}

interface Consumer<in T> {
    fun consume(item: T)
}